package _07_singleton_pattern.v1_0;

/**
 * @Description: 臣子类,找皇帝
 * @Auther: 2019/6/11 11:38 by zhang.jy
 */
public class Minister {
    public static void main(String[] args) {
        for (int day = 0; day < 3; day++) {
            Emperor emperor = Emperor.getInstance();
            emperor.say();
        }
        //三天见的皇帝都是同一个人，荣幸吧！
    }
}